package com.qiaofang.generator.stub.facade;

import com.qiaofang.common.request.DataRequest;
import com.qiaofang.common.response.DataResultResponse;
import com.qiaofang.generator.stub.bean.ReceivableDataDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

/**
 * @ClassName SysConfig
 * @Description V20 物业参数转发
 * @Author zhouyao
 * @Date 2021/1/6 17:57
 **/
@RequestMapping("/rongchuang/v20")
@Api(tags = "v20test", description = "v20接口封装")
public interface V20Facade {

    @RequestMapping(value = "/sysconfig/listSystemConfigByConfigNames", method = RequestMethod.POST)
    @ApiOperation(value = "根据configName集合搜索物业参数", notes = "根据configName集合搜索物业参数")
    DataResultResponse<Object> listSystemConfigByConfigNames(DataRequest<List<String>> request);

    @RequestMapping(value = "/write/receivableRecord", method = RequestMethod.POST)
    @ApiOperation(value = "根据uuid查询应收数据", notes = "根据uuid查询应收数据")
    DataResultResponse<ReceivableDataDTO> receivableDataWriteV20(DataRequest<String> request);

}
